`ifndef TRANSACTION_SVH
`define TRANSACTION_SVH

class transaction;
	bit [3:0] a;
	
	function new(input bit [3:0] a = 0);
		this.a = a;
	endfunction

	function void print(string name = "");
		$display("%s: a=%0h", name, a);
	endfunction
endclass

`endif
